<template>
  <div>
    <nav class="phone-nav height">
      <i class="iconfont">&#xe669;</i>
      <span class="text">手机号登录</span>
    </nav>
    <div class="container">
      <div class="info">
        <p>验证码已发送至</p>
        <p>
          <span>+86</span>
          <span>173<span class="middle">****</span>5248</span>
        </p>
      </div>
      <div class="renew">重新获取</div>
    </div>
    <div class="yanzheng">
      <input class="kuai" type="text">
      <input class="kuai" type="text">
      <input class="kuai" type="text">
      <input class="kuai" type="text">
    </div>
    <div class="white"></div>
  </div>
</template>
<script>
export default {
  name: 'vd',
  data () {
    return {
      inpval: null
    }
  },
  methods: {
    checknum (val) {
      this.axios.get(`/api/captcha/verify?phone=${this.$route.parama.phone}&captcha${val}`).then(res => {
        console.log(res.data)
        if (res.data.code === 200) {
          alert(111)
        }
      })
    }
  }
}
</script>
<style lang="stylus" scoped>
.white
  height 7.31rem
  background white
.yanzheng
  width 100%
  height 2rem
  display flex
  justify-content space-around
  .kuai
    width 1rem
    height 1rem
    border-radius 20%
    border 1px solid #cccccc
    text-align center
    color red
.phone-nav
  display: flex
  align-items: center
.height
  height: 1rem
  line-height: 1rem
  .iconfont
    font-size: 0.7rem
    margin-right: 5px
  .text
    font-size: 0.4rem
    vertical-align: 5px
.container
  display: flex
  -webkit-box-align: center
  align-items: center
  -webkit-box-pack: justify
  justify-content: space-between
  height: 3rem
  padding 0 .3rem
  p
    margin-bottom .3rem
    span
      color #ccc
  .renew
    color: #1a73e8
    cursor: pointer
</style>
